import std.stdio;
import std.socket;

void main()
{
    UdpSocket sock = new UdpSocket();
    writeln(sock.localAddress().toString());
    
    UdpSocket sock2 = new UdpSocket();
    sock2.bind(new InternetAddress("127.0.0.1",9096));
    writeln(sock2.localAddress().toString());
    
     UdpSocket sock3 = new UdpSocket();
    sock3.bind(new InternetAddress(9196));
    writeln(sock3.localAddress().toString());
}
